import request from "@/utils/request.js";
export default {
  goodsData(params = {}) {
    return request.get("/goods/all", { params });
  },
  update(params = {}) {
    return request.post("/goods/update", params);
  },
  create(params = {}) {
    return request.post("/goods/create", params);
  },
};
